#!/bin/bash
if [ -e dist ]
then 
  echo 'masz juz katalog dist';
else
   mkdir dist/
fi

cp -r $1 ./dist/
cp license.txt ./dist/$1/.
cd ./dist/
zip -9 -r $1 $1 -x *.svn/*
rm -rf $1
